package com.hr.zhxy.attendance.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.hr.zhxy.attendance.api.domain.TestFeign;


@RestController
@RequestMapping("/att")
@Api("AttendanceController")
public class AttendanceController implements TestFeign{
    @Value("${server.port}")
    int port;
    @Override
    public String getP1() {
        return "测试"+port;
    }

    @GetMapping("AttendanceController")
    @ApiOperation("AttendanceController测试")
    public String test(){
        return "AttendanceController";
    }

}
